/**
 * @flow
 * 页面参考: https://www.zcool.com.cn/work/ZMjYzOTEyMzI=.html
 */
import React from 'react'
import {View} from 'react-native'

import HomePage from './components/home/HomePage'
import RxDynamicScroll from '../../components/scroll/RxDynamicScroll'
import RxButtonLineBlue from '../../components/button/RxButtonLineBlue'

import HomeNumCard from './components/home/HomeNumCard'
import HomePermission from './components/home/HomePermission'
import HomeBlock from './components/home/HomeBlock'

const Home = props => {
  return (
    <HomePage>
      <RxDynamicScroll
        txts={
          '最新消息,跑图神器最新上架,只要288不要888,安全可靠,你来，我来 大家来喝彩，走一个'
        }
      />
      <HomeNumCard />
      <HomePermission />
      <HomeBlock />
      <View style={{flex: 1}} />
      <RxButtonLineBlue style={{margin: 10}} text={'运行'} />
      <View style={{flex: 1}} />
    </HomePage>
  )
}

export default Home
